home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / flxgrdpr / readme.txt < prev    next >
Encoding:
Text File  |  1998-12-21  |  15.2 KB  |  374 lines

  1. ===================================================================================
  2. VSFlexGrid Pro Build # 6.0.0.23        23 Nov 98
  3. ===================================================================================
  4.  
  5. ================================================
  6. NEW DEMO FILE                           23 Nov 98
  7. ================================================
  8.  
  9. An all new VC++ demo has been added. To use VSFlexGrid 6.0 with 
  10. C++, you should refer to the BigDemo C++ sample that is 
  11. installed in the Samples\CDemo directory. The sample includes a 
  12. header file (flex6ec.h) that defines symbolic constants for the 
  13. control's enumerated properties. The sample also includes a 
  14. pair of files (Flexutil.cpp and Flexutil.h) that implement 
  15. useful classes and functions for handling unit conversions 
  16. (twips/pixels), HTML rendering, and OLE drag drop utilities.
  17.  
  18. ================================================
  19. UNDOCUMENTED PROPERTIES (CUMULATIVE)   23 Nov 98
  20. ================================================
  21.  
  22. ShowComboButton Property
  23.  
  24.     Returns or sets whether drop-down buttons are shown when 
  25.     editable cells are selected.
  26.  
  27. Syntax     
  28.     [form!]vsFlexGrid.ShowComboButton[ = {True | False} ]
  29.  
  30. Remarks    
  31.     If the ShowComboButton property is set to True, VSFlexGrid will 
  32.     display drop-down buttons automatically when cells with 
  33.     associated combo boxes or drop-down lists are selected. The 
  34.     user may edit the cells directly, by clicking the button with 
  35.     the mouse.
  36.  
  37.     If the ShowComboButton property is set to False, the drop-downs 
  38.     will only appear when the control enters edit mode (either as a 
  39.     result of keyboard action or when the EditCell method is used.
  40.  
  41.     You should only set this property to False if the grid columns 
  42.     are narrow and you don't want the drop-down buttons to obscure 
  43.     cell contents while not editing.
  44.  
  45.  
  46. Data Type    Boolean
  47. Default Value    True
  48.  
  49.  
  50. Here are additional the error codes that can be fired by the control:
  51.  
  52. Name                    Code    Description
  53. ----------------------- ------- ------------------------------------------------------
  54. ERR_MEMORY        7       Can't allocate memory for new cols/rows
  55. ERR_FILENOTFOUND    53      Can't open data file (Archive/SaveGrid/LoadGrid)
  56. ERR_BADDATAFILE        321     Can't read file from archive
  57. ERR_BADVALUE        380     Can't set property to this value
  58. ERR_SUBSCRIPT        381     Invalid subscript
  59.  
  60. ERR_CANTWHENBOUND    1000    Invalid action when bound to DB/array
  61. ERR_DBCANTDELETEROW    1001    DB refused to delete row
  62. ERR_DBCANTADDROW    1002    DB refused to add row
  63. *ERR_DBCANTUPDATE    1003    DB refused to update data
  64. *ERR_DBBADVALUE        1004    DB refused the value provided (bad type/integrity)
  65.  
  66. ERR_CANTINBROWSER    1005    Can't perform this action when hosted by browser
  67.  
  68. ================================================
  69. CORRECTED PROBLEMS                    23 Nov 98
  70. ================================================
  71. OwnerDraw no longer skips over empty cells
  72. OLE drag drop events no longer pass bad data parameters in C++
  73.  
  74. ================================================
  75. WAIVERS                               23 Nov 98     
  76. ================================================
  77. Light FloodColors are shown as white or gray.
  78. Waiver:  To use light (non-solid) flooding colors, you have to have screen colors set to more than 256 colors.
  79.  
  80.  
  81. ================================================
  82. KNOWN PROBLEMS                           23 Nov 98
  83. ================================================
  84. Select followed by SendKeys causes loss of NumLock.
  85. Cause:          A Windows problem.
  86. Circumvention:  Insert DoEvents between Select and SendKeys.
  87.  
  88. Focus on a flex causes the Form_KeyDown event fire twice.
  89. If an MDI child contains only one flex, clicking on it will not bring the child form
  90. into foreground.
  91. Cause:          A Windows problem.
  92. Circumvention:  Place one native VB control (such as button) on the form and make sure that its TabOrder is lower than TabOrder of the flex.
  93.  
  94. Validate and AfterEdit events do not fire if form is unloaded by clicking on the control box.
  95. Cause:          This is a Windows API problem.
  96. Circumvention:  To make sure that these events are fired, if applicable, begin the Form_Unload event with the following two lines:
  97.            Me.SetFocus
  98.            DoEvents
  99.  
  100. AutosizeRowHeight with WordWrap = True may be incorrect.
  101. Cause:        This is a Windows API problem.
  102. Circumvention:  This happens if the contents of any of the rows are wider than the column, for example, a very long word in a narrow column.  Make sure that the width of the column is sufficient to accommodate the widest word (depends on the font).  Allow the user resizing of row heights.
  103.  
  104. After changing the DataMode, control may load wrong number of rows.
  105. Cause:        Incorrect recordset passed by the Jet Engine.
  106. Circumvention:    After changing DataMode, apply Refresh to the data control.
  107.  
  108. ================================================
  109. End of entries for build #  6.0.0.23     23 Nov 98
  110. ================================================
  111.  
  112.  
  113. ===================================================================================
  114. VSFlexGrid pro Build # 6.0.0.22     22 Nov 98
  115. ===================================================================================
  116.  
  117. ================================================
  118. CORRECTED PROBLEMS                     22 Nov 98
  119. ================================================
  120. Increased edit mask's max length: from 200 to 1024.
  121.  
  122. Dropdown list is now displayed with Alt-Down Arrow.
  123.  
  124. Dropdown button refreshes after setting ComboList property.
  125.  
  126. Dropdown button no longer behaves like a popup menu when ComboList and ColComboList are set.
  127.  
  128. ComboList maintains its size even after scrolling it out of view and back.
  129.  
  130. ComboIndex maintains changes when the list is closed.
  131.  
  132. Can now edit EditMaxLength when equal to Len(EditMask).
  133.  
  134. SaveGrid/LoadGrid will fire errors when a file is locked or not found.
  135.  
  136. Problems no longer occur with "<" and ">" in EditMask (set EditMask to ">&", type "a", get ">").
  137.  
  138. ================================================
  139. End of entries for build # 6.0.0.22     22 Nov 98
  140. ================================================
  141.  
  142.  
  143. ===================================================================================
  144. VSFlexGrid Pro  Build # 6.0.0.20    20 Nov 98
  145. ===================================================================================
  146.  
  147. ================================================
  148. CORRECTED PROBLEMS                     20 Nov 98
  149. ================================================
  150.  
  151. We have removed the Web button from the about box in order to remove the dependency on Shell32.dll
  152.  
  153. Assigning variants to "Data" properties now de-references them first
  154.  
  155. VSFlex now effectively handles the sorting of international characters 
  156.  
  157. Changes to RowHeight, ColWidth properties. Because of the new features in VSFlex6 (RowHeightMax/Min/Hidden, ColWidthMax/Min/Hidden), the semantics for these properties have changed a bit. Here are the new rules:
  158.  
  159. RowHeight/ColWidth return the internal value stored by setting these properties with code. These may be different from the display values in the following cases:     
  160.  
  161.               a) The column (or row) is hidden, in which case the display value is zero.
  162.               b) The column is the last visible column and the ExtendLastCol property is set to True.
  163.               c) The internal value is overridden by the RowHeightMin, RowHeightMax ColWidthMin, or ColWidthMax properties.
  164.  
  165.  * You may adjust for these factors if you want to, by writing code such as:
  166.  
  167.           Function VisibleColWidth(i)
  168.  
  169.                ' hidden, easy case
  170.                  If fg.ColHidden(i) Then
  171.                      VisibleColWidth = 0
  172.                      Exit Function
  173.                  End If
  174.  
  175.                  ' adjust for limits
  176.                    Dim wid
  177.                    wid = fg.ColWidth(i)
  178.                    If fg.ColWidthMax > 0 And wid > fg.ColWidthMax Then
  179.                       wid = fg.ColWidthMax
  180.                    End If
  181.                    If fg.ColWidthMin > 0 And wid < fg.ColWidthMin Then
  182.                       wid = fg.ColWidthMin
  183.                    End If
  184.  
  185.                  ' adjust for ExtendLastCol
  186.                    If i = fg.Cols - 1 Then
  187.                       wid = fg.ClientWidth - fg.ColPos(i)
  188.                    End If
  189.                   
  190.                  ' done
  191.                    VisibleColWidth = wid
  192.  
  193.                End Function
  194.  
  195. The RowPos and ColPos properties can also be used to determine where a row or column is. These properties return the actual display position of each column (left) and row (top). The sample routine above uses ColPos.
  196.  
  197. The ClientWidth and ClientHeight properties return the size of the control's client area (excluding border and scrollbars). These values are always smaller than or equal to the stock Width and Height properties.
  198.  
  199. CellLeft/CellTop/CellWidth/CellHeight: These properties return the actual display dimensions for the *current* cell, taking into account all the above factors plus any cell merging that may be in effect. By the way, these properties also bring the current cell into view. The control assumes you are reading these properties in order to pop up a custom cell editor that you want to display over the active cell.
  200.  
  201. Finally, you may use the Cell property with the (new) constants flexcpLeft, flexcpTop, flexcpWidth, and flexcpHeight to get the display position and dimensions for an arbitrary cell. Note that the values you obtain with each method may differ by a few twips because of rounding off errors (the dimensions are stored internally as pixels). If this occurs, the differences will be smaller than the value of Screen.TwipsPerPixelX/Y.
  202.  
  203.  
  204. ================================================
  205. End of entries for build # 6.0.0.20    20 Nov 98
  206. ================================================
  207.  
  208.  
  209. ===================================================================================
  210. VSFlexGrid Pro    Build # 6.0.0.19    14 Nov 98
  211. ===================================================================================
  212.  
  213. ================================================
  214. CORRECTED PROBLEMS                     14 Nov 98
  215. ================================================
  216. VSFlexGrid now features full support for J++ 
  217.  
  218. Added Flex6ec.h (enumeration constants) file to distribution package
  219.  
  220. Safer data binding with memo fields:
  221.        try with memo fields (seems OK with data env, controls)
  222.        if failed, (happens with Dim rs...), try without memos
  223.        if failed, return error.
  224.  
  225. There is more flexibility handling Cell(Picture, Font), which accepts variants
  226.  
  227. Now updates the first row/col on DB 
  228.  
  229. The Shift/Enter now wraps lines in editor
  230.  
  231. Child control's BackColor now honored
  232.  
  233. ScrollTip still visible even if the user drags the cursor beyond the window
  234.  
  235. ================================================
  236. End of entries for build # 6.0.0.19    14 Nov 98
  237. ================================================
  238.  
  239.  
  240. ===================================================================================
  241. VSFlexGrid Build # 6.0.0.18    28 Oct 98
  242. ===================================================================================
  243.  
  244. ================================================
  245. CORRECTED PROBLEMS                     28 Oct 98
  246. ================================================
  247. The True value of -1 is now returned for all Boolean properties 
  248.  
  249. ================================================
  250. End of entries for build # 6.0.0.18    28 Oct 98
  251. ================================================
  252.  
  253.  
  254. ===================================================================================
  255. VSFlexGrid Pro Build # 6.0.0.17        27 Oct 98
  256. ===================================================================================
  257.  
  258. ================================================
  259. CORRECTED PROBLEMS                     27 Oct 98
  260. ================================================
  261. If focus is lost while button is down, the mouse capture is now released
  262.  
  263. ================================================
  264. End of entries for build #  # 6.0.0.17    27 Oct 98
  265. ================================================
  266.  
  267.  
  268. ===================================================================================
  269. VSFlexGrid Build # 6.0.0.16    20 Oct 98
  270. ===================================================================================
  271.  
  272.  
  273. ================================================
  274. CORRECTED PROBLEMS                    20 Oct 98
  275. ================================================
  276. If no rows have been selected with the SelectionMode set to ListBox, the  OleDrag method no longer crashes VB
  277.  
  278. Flex now honors the international setting for "Short/Long Date" 
  279.  
  280. You may now assign CellPicture to picture property
  281.  
  282. Cells will now merge when bound to array
  283.  
  284. FindRow looks for cell contents and for RowData (when Col=-1)
  285.  
  286.  
  287. ================================================
  288. End of entries for build # 6.0.0.16    20 Oct 98
  289. ================================================
  290.  
  291. ===================================================================================
  292. VSFlexGrid Pro Build # 6.0.0.15     16 Oct 98
  293. ===================================================================================
  294.  
  295. ================================================
  296. CORRECTED PROBLEMS                     16 Oct 98
  297. ================================================
  298. The DAO resource leak, which was due to buggy changes to ATL code, has been fixed
  299.  
  300. The defaults for ColFormat for currency fields in ADO has been fixed 
  301.  
  302. Comboboxes with dictionaries now accept text that is not on the combobox list
  303.  
  304. Bound arrays now accept boolean values in columns 
  305.  
  306. Extended selections have improved cursor key behavior
  307.  
  308. Merged cells now feature improved RenderControl
  309.  
  310. Writing in cells has been enabled while bound to ADO database
  311.  
  312. New support for returning embedded text files with the Save/Load function
  313.  
  314. Corrected handling of Enter and Esc keys with Default/Cancel controls
  315.  
  316. Corrected TabBehavior property 
  317.  
  318. ================================================
  319. End of entries for build #  6.0.0.15     16 Oct 98
  320. ================================================
  321.  
  322.  
  323.  
  324. ====================================
  325. VSFlexGrid Pro 6.0.0.14             
  326. ====================================
  327.  
  328. ================================================
  329. CORRECTED PROBLEMS                         
  330. ================================================
  331. Made EditText read/write during ValidateEdit
  332.  
  333. Avoid double-fire of key events when KeyPreview = True 
  334.  
  335. Made Tab key work in UserControl 
  336.  
  337. Made edit combos work with right-aligned entries
  338.  
  339. SelectionMode - ListBox
  340.  
  341. Fixed ADO error when dynamically switching Data Sources
  342.  
  343. Support for hierarchical (chaptered) ADO recordsets 
  344.  
  345. Fixed editing problem in VC++
  346.  
  347. Fixed subtotal problems with negative numbers
  348.  
  349. Fixed merging cell with fixed cols
  350.  
  351. ESCAPE key didn't close editor (just removed focus)
  352.  
  353. AutoSize with Equal parameter was fixed
  354.  
  355. CR/LF appended when WordWrap = True and Dialog popped in AfterEdit.
  356.  
  357. MouseMove event did not fire over the OutlineBar.
  358.  
  359. Flex6 confused when there's text and data on an OLE drop operation
  360.  
  361. Flex6 did not honor default/cancel buttons on form
  362.  
  363. Fixed issue when setting Row parameter to an invalid value in AfterEdit event
  364.  
  365. Fixed repainting problem when ExtendLastCol is true and last col is hidden
  366.  
  367. KeyDown/KeyUp not firing for system keys
  368.  
  369. Memo fields not displayed in OLEDB mode
  370.  
  371. Can edit strings of unlimited length
  372.  
  373.  
  374.